package com.tianluo.tianluobookstore.service;

import com.tianluo.tianluobookstore.domain.dto.UserInfoDTO;
import com.tianluo.tianluobookstore.domain.view.UserInfoVO;
import com.tianluo.tianluobookstore.request.RegisterUserRequest;

import java.util.List;

public interface UserService {

    List<UserInfoDTO> queryUserInfoList(Integer pageSize, Integer pageNum);

    UserInfoDTO queryUsername(String userName);

    UserInfoDTO registerUser(RegisterUserRequest userRequest);

    UserInfoDTO queryByPhone(String phone);

    UserInfoVO selectByPhone(String phone);

}
